package ${groupId};

import java.util.List;

public class Service {
	public void submitRegistrations(List<Registration> registrations) {
		System.out.println("received registrations: " + registrations);
		for(Registration registration : registrations) {
			DataHelper.createRegistration(registration);
		}
	}
	
	public List<Registration> getAllRegistrations() {
		System.out.println("getAllRegistrations() called...");
		return DataHelper.getRegistrations();
	}

}
